package com.rao.travel.service;

import com.rao.travel.pojo.Permission;

import java.util.List;

/**
 * @author Srao
 * @version 1.0
 * @className PermissionService
 * @date 2019/11/5 10:25
 * @package com.rao.travel.service
 * @description
 */
public interface PermissionService {
    /*查询所有权限*/
    List<Permission> findAll();

    /*保存权限*/
    void save(Permission permission);

    /*查看权限详情*/
    Permission findById(String id);

    /*删除权限*/
    void deleteById(String id);
}
